@charset "utf-8";

/* dialog样式 */
* {
    margin: 0;
    padding: 0;
    color: #333;
    font-family: 'microsoft yahei', arial;
}

input {
    display: inline-block;
    outline: none;
    vertical-align: middle;
}

.wrapper {
    position: relative;
    margin: 0 auto;
    padding: 10px;
    width: 630px;
    *width: 626px;
    height: 380px;
    zoom: 1;
}

/*tab样式框大小*/
.tabhead {
    float: left;
}

.tabbody {
    position: relative;
    clear: both;
    width: 100%;
    height: 346px;
}

.tabbody .panel {
    position: absolute;
    display: none;
    overflow: hidden;
    width: 0;
    height: 0;
    background: #fff;
}

.tabbody .panel.focus {
    display: block;
    width: 100%;
    height: 346px;
}

/* 图片对齐方式 */
.alignBar {
    position: relative;
    float: right;
    margin-top: 5px;
}

.alignBar .algnLabel {
    float: left;
    height: 20px;
    line-height: 20px;
}

.alignBar #alignIcon {
    position: relative;
    display: inline-block;
    zoom: 1;
    _display: inline;
}

.alignBar #alignIcon span {
    display: block;
    float: left;
    margin-right: 3px;
    margin-left: 3px;
    width: 19px;
    height: 17px;
    background-image: url(./images/alignicon.jpg);
    cursor: pointer;
}

.alignBar #alignIcon .none-align {
    background-position: 0 -18px;
}

.alignBar #alignIcon .left-align {
    background-position: -20px -18px;
}

.alignBar #alignIcon .right-align {
    background-position: -40px -18px;
}

.alignBar #alignIcon .center-align {
    background-position: -60px -18px;
}

.alignBar #alignIcon .none-align.focus {
    background-position: 0 0;
}

.alignBar #alignIcon .left-align.focus {
    background-position: -20px 0;
}

.alignBar #alignIcon .right-align.focus {
    background-position: -40px 0;
}

.alignBar #alignIcon .center-align.focus {
    background-position: -60px 0;
}

/* 远程图片样式 */
#remote {
    z-index: 200;
}

#remote .top {
    margin-top: 25px;
    width: 100%;
}

#remote .left {
    display: block;
    float: left;
    width: 305px;
    height: 10px;
}

#remote .right {
    display: block;
    float: right;
    width: 300px;
    height: 10px;
}

#remote .row {
    clear: both;
    margin-left: 20px;
    height: 40px;
}

#remote .row label {
    display: inline-block;
    width: 50px;
    vertical-align: middle;
    text-align: center;
    zoom: 1;
    _display: inline;
}

#remote .row label.algnLabel {
    float: left;
}

#remote input.text {
    width: 150px;
    height: 20px;
    line-height: 20px;
    padding: 4px;
    border: #ccc solid 1px;
    border-radius: 2px;
}

#remote #url {
    margin-bottom: 2px;
    width: 500px;
}

#remote #width,
#remote #height {
    margin: 0 4px;
    width: 30px;
}

#remote #border,
#remote #vhSpace,
#remote #title {
    margin-right: 5px;
    width: 180px;
}

#remote #lock {
}

#remote #lockicon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
    vertical-align: middle;
    zoom: 1;
    _display: inline;
}

#remote #preview {
    z-index: 9999;
    clear: both;
    overflow: hidden;
    margin-top: 10px;
    width: 260px;
    height: 240px;
    background-color: #eee;
}

/* 上传图片 */
.tabbody #upload.panel {
    position: absolute !important;
    display: block;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 0;
    height: 0;
    background: #fff;
}

.tabbody #upload.panel.focus {
    display: block;
    clip: auto;
    width: 100%;
    height: 346px;
}

#upload .queueList {
    position: absolute;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
}

#upload p {
    margin: 0;
}

.element-invisible {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    margin: 0;
    padding: 0;
    width: 0 !important;
    height: 0 !important;
    border: 0;
}

#upload .placeholder {
    position: relative;
    top: 0;
    *top: 10px;
    margin: 10px;
    padding-top: 150px;
    height: 172px;
    border: 2px dashed #e6e6e6;
    *border: 0px dashed #e6e6e6;
    background: url(./images/image.png) center 70px no-repeat;
    color: #ccc;
    text-align: center;
    font-size: 18px;
}

#upload .placeholder .webuploader-pick {
    display: inline-block;
    margin: 0 auto 20px auto;
    padding: 0 30px;
    *width: 120px;
    border-radius: 0px;
    background: #337ab7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 18px;
    line-height: 44px;
    cursor: pointer;
}

#upload .placeholder .webuploader-pick-hover {
    background: #2d6da3;
}

#filePickerContainer {
    text-align: center;
}

#upload .placeholder .flashTip {
    position: absolute;
    bottom: 20px;
    width: 100%;
    color: #666;
    text-align: center;
    font-size: 12px;
}

#upload .placeholder .flashTip a {
    color: #0785d1;
    text-decoration: none;
}

#upload .placeholder .flashTip a:hover {
    text-decoration: underline;
}

#upload .placeholder.webuploader-dnd-over {
    border-color: #999;
}

#upload .filelist {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    height: 300px;
    list-style: none;
}

#upload .filelist:after {
    position: relative;
    display: block;
    clear: both;
    overflow: hidden;
    width: 0;
    height: 0;
    content: '';
}

#upload .filelist li {
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    margin: 9px 0 0 9px;
    *margin: 6px 0 0 6px;
    width: 113px;
    height: 113px;
    background: url(./images/bg.png);
    text-align: center;
    font-size: 12px;
}

#upload .filelist li p.log {
    position: relative;
    top: -45px;
}

#upload .filelist li p.title {
    position: absolute;
    top: 0;
    top: 5px;
    left: 0;
    overflow: hidden;
    width: 100%;
    text-align: left;
    text-indent: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#upload .filelist li p.progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 50;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 8px;
    border-radius: 0;
    background: none;
    -webkit-box-shadow: 0 0 0;
}

#upload .filelist li p.progress span {
    display: none;
    overflow: hidden;
    width: 0;
    height: 100%;
    background: #1483d8 url(./images/progress.png) repeat-x;
    -moz-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    transition: width 200ms linear;
    -webkit-transform: translateZ(0);
    -webkit-animation: progressmove 2s linear infinite;
    -moz-animation: progressmove 2s linear infinite;
    -ms-animation: progressmove 2s linear infinite;
    -o-animation: progressmove 2s linear infinite;
    animation: progressmove 2s linear infinite;
    -webit-transition: width 200ms linear;
}

@-webkit-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@-moz-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

#upload .filelist li p.imgWrap {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 113px;
    height: 113px;
    vertical-align: middle;
    line-height: 113px;
    -moz-transition: 200ms ease-out;
    -ms-transition: 200ms ease-out;
    -o-transition: 200ms ease-out;
    transition: 200ms ease-out;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webit-transition: 200ms ease-out;
}

#upload .filelist li img {
    width: 100%;
}

#upload .filelist li p.error {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: none;
    width: 100%;
    height: 28px;
    background: #f43838;
    color: #fff;
    line-height: 28px;
}

#upload .filelist li .success {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 200;
    display: block;
    width: 100%;
    height: 40px;
    background: url(./images/success.png) no-repeat right bottom;
    background: url(./images/success.gif) no-repeat right bottom \9;
}

#upload .filelist li.filePickerBlock {
    width: 113px;
    height: 113px;
    border: 1px solid #eee;
    border-radius: 0;
    background: url(./images/image.png) no-repeat center 12px;
}

#upload .filelist li.filePickerBlock div.webuploader-pick {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: none;
    font-size: 0;
    opacity: 0;
}

#upload .filelist div.file-panel {
    position: absolute;
    top: 0;
    left: 0 \0;
    z-index: 300;
    overflow: hidden;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.5);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000');
}

#upload .filelist div.file-panel span {
    display: inline;
    float: right;
    overflow: hidden;
    margin: 5px 1px 1px;
    width: 24px;
    height: 24px;
    background: url(./images/icons.png) no-repeat;
    background: url(./images/icons.gif) no-repeat \9;
    text-indent: -9999px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#upload .filelist div.file-panel span.rotateLeft {
    display: none;
    background-position: 0 -24px;
}

#upload .filelist div.file-panel span.rotateLeft:hover {
    background-position: 0 0;
}

#upload .filelist div.file-panel span.rotateRight {
    display: none;
    background-position: -24px -24px;
}

#upload .filelist div.file-panel span.rotateRight:hover {
    background-position: -24px 0;
}

#upload .filelist div.file-panel span.cancel {
    background-position: -48px -24px;
}

#upload .filelist div.file-panel span.cancel:hover {
    background-position: -48px 0;
}

#upload .statusBar {
    position: relative;
    margin: 0 10px;
    padding: 0;
    height: 45px;
    border-bottom: 1px solid #dadada;
    vertical-align: middle;
    line-height: 45px;
}

#upload .statusBar .progress {
    position: absolute;
    top: 12px;
    display: none;
    margin: 0 10px 0 0;
    width: 198px;
    height: 18px;
    border: 1px solid #1483d8;
    background: #fff;
    color: #6dbfff;
    text-align: center;
    line-height: 18px;
}

#upload .statusBar .progress span.percentage {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #1483d8;
}

#upload .statusBar .progress span.text {
    position: relative;
    z-index: 10;
}

#upload .statusBar .info {
    display: inline-block;
    color: #666;
    font-size: 14px;
}

#upload .statusBar .btns {
    position: absolute;
    top: 7px;
    right: 0;
    line-height: 30px;
}

#filePickerBtn {
    display: inline-block;
    float: left;
}

#upload .statusBar .btns .webuploader-pick,
#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-uploading,
#upload .statusBar .btns .uploadBtn.state-paused {
    display: inline-block;
    float: left;
    margin-left: 10px;
    padding: 0 18px;
    border: 1px solid #cfcfcf;
    border-radius: 0px;
    background: #fff;
    color: #565656;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#upload .statusBar .btns .webuploader-pick-hover,
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-uploading:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
    background: #f0f0f0;
}

#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-paused {
    border-color: transparent;
    background: #337ab7;
    color: #fff;
}

#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
    background: #2d6da3;
}

#upload .statusBar .btns .uploadBtn.disabled {
    opacity: 0.6;
    filter: alpha(opacity=60);
    pointer-events: none;
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
}

/* 图片管理样式 */
#online {
    padding: 10px 0 0 0;
    width: 100%;
    height: 336px;
}

#online #imageList {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

#online ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

#online li {
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    margin: 0 0 9px 9px;
    *margin: 0 0 6px 6px;
    padding: 0;
    width: 113px;
    height: 113px;
    background-color: #eee;
    list-style: none;
    cursor: pointer;
}

#online li.clearFloat {
    display: block;
    float: none;
    clear: both;
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
}

#online li img {
    cursor: pointer;
}

#online li .icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 113px;
    height: 113px;
    border: 0;
    background-repeat: no-repeat;
    cursor: pointer;
}

#online li.selected .icon {
    background-image: url(images/success.png);
    background-image: url(images/success.gif) \9;
    background-position: 75px 75px;
    width: 107px;
    height: 107px;
    border: 3px solid #1094fa;
    background-position: 72px 72px;
}

/* 图片搜索样式 */
#search .searchBar {
    margin: 10px 0 5px 0;
    padding: 0;
    width: 100%;
    height: 30px;
}

#search input.text {
    padding: 4px;
    padding: 4px;
    width: 150px;
    height: 22px;
    border: #ccc solid 1px;
    line-height: 22px;
}

#search input.searchTxt {
    float: left;
    margin-left: 5px;
    width: 300px;
    *width: 260px;
    dislay: block;
    height: 20px;
    line-height: 20px;
    padding: 4px;
    border: #ccc solid 1px;
    border-radius: 2px;
}

#search .searchType {
    float: left;
    margin-left: 5px;
    width: 65px;
    height: 32px;
    outline: none;
    border: 1px solid #ccc;
    vertical-align: top;
    dislay: block;
}

#search #searchBtn,
#search #searchReset {
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-bottom: 0;
    padding: 0 8px;
    height: 30px;
    border-radius: 2px;
    border: 1px solid transparent;
    vertical-align: middle;
    vertical-align: top;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    font-size: 12px;
}

#search #searchBtn {
    border-color: #337ab7;
    background-color: #337ab7;
    color: white;
}

#search #searchReset {
    border-color: #ccc;
    background-color: #fff;
    color: #333;
}

#search #searchBtn:hover {
    border-color: #2d6da3;
    background-color: #2d6da3;
}

#search #searchReset:hover {
    background-color: #eee;
}

#search .msg {
    margin-left: 5px;
}

#search .searchList {
    clear: both;
    overflow: hidden;
    width: 100%;
    height: 300px;
}

#search .searchList ul {
    position: relative;
    clear: both;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    zoom: 1;
}

#search .searchList li {
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    margin: 5px 10px 5px 5px;
    /**margin: 5px 10px 5px 15px;*/
    padding: 0;
    width: 132px;
    border: 2px solid #eee;
    list-style: none;
    vertical-align: top;
    text-align: center;
    font-size: 12px;
    opacity: 1;
    filter: alpha(Opacity=100);
    cursor: pointer;
    -moz-opacity: 1;
}

#search .searchList li.selected {
    border: 2px solid #1094fa;
    position: relative;
}

#search .searchList li.selected:after {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    display: block;
    background: url('images/success.png');
}

#search .searchList li p {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 115px;
    background-color: #eee;
}

#search .searchList li p img {
    border: 0;
    cursor: pointer;
}

#search .searchList li a {
    display: block;
    overflow: hidden;
    padding: 0 5px;
    width: 105px;
    height: 32px;
    border-top: 1px solid #f2f2f2;
    background: #fafafa;
    color: #999;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    line-height: 32px;
}

#search .searchList a:hover {
    color: #333;
    text-decoration: underline;
}

#search .searchList .clearFloat {
    clear: both;
}